package cn.tedu.csmall.product.service;

import cn.tedu.csmall.commons.vo.PageData;
import cn.tedu.csmall.product.pojo.entity.Picture;
import cn.tedu.csmall.product.pojo.param.PictureAddNewParam;
import cn.tedu.csmall.product.pojo.vo.PictureListItemVO;
import cn.tedu.csmall.product.pojo.vo.PictureStandardVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author Administrator
 * @description 针对表【pms_picture(图片)】的数据库操作Service
 * @createDate 2023-06-15 11:40:49
 */
public interface IPictureService {
    void addNew(PictureAddNewParam pictureAddNewParam);

    void deleteById(Long id);

    PictureStandardVO getStandardById(Long id);

    PageData<PictureListItemVO> listByAlbumId(Long albumId, Integer pageNum);

    PageData<PictureListItemVO> listByAlbumId(Long albumId, Integer pageNum, Integer pageSize);

}
